Skip to content

Conversation

@zharinov
Copy link
Member

@zharinov zharinov commented Jan 7, 2026

Summary

Why

Node/Text capture effects were placed on exit (after children processing), but matched_node gets clobbered by child matches and backtracking. Moving these effects to entry match's post_effects ensures matched_node is still valid from the parent match.

@zharinov zharinov enabled auto-merge (squash) January 7, 2026 21:31
@zharinov zharinov merged commit cfafae6 into master Jan 7, 2026
4 checks passed
@zharinov zharinov deleted the fix/node-capture-with-children branch January 7, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants